#ifndef _IDLESTATE_H_
#define _IDLESTATE_H_

#include "State.h"


class IdleState : public State
{
public:
	IdleState();
	~IdleState();

	virtual VOID			Init();
	virtual VOID			OnEnter( LPARAM param1, LPARAM param2, LPARAM param3 );
	virtual VOID			OnExit();
	virtual VOID			OnUpdate( DWORD dwDeltaTick );

protected:
	virtual VOID			OnMsgAttacked( AI_MSG *pMsg );
	virtual VOID			OnMsgLeaveField( AI_MSG *pMsg );
	virtual VOID			OnMsgLetsGo( AI_MSG *pMsg );
	virtual VOID			OnMsgEnemyFound( AI_MSG *pMsg );

private:

	util::Timer				*m_pIdleTimer;
	util::Timer				*m_pSearchTimer;
};

#endif // _IDLESTATE_H_